let id: number = parseInt(window.localStorage.getItem('_idMax') || '0')

function creatId(){
  id +=1
  window.localStorage.setItem('_idMax',id.toString())
  return id
}

export default creatId